# -*- coding: utf-8; mode: snippet -*-
# name: logrank test from lifelines
# key: logran_test@lifeline
# contributor: Shuguang Sun
# --
# from lifelines.statistics import logrank_test

${1:result} = logrank_test(durations_A=${1:dtin}["${2:t0}"],
    duration2_B=$1["${3:t1}"],
    event_observed_A=$1["${4:e0}"],
    event_observed_B=$1["${4:e1}"],
    weightings=${5:$$(yas-choose-value '("None" "\\\"wilcoxox\\\"" "\\\"tarone-ware\\\"" "\\\"peto\\\"" "\\\"fleming-harrington\\\""))})